import request, { AxiosResponseProps } from '@/uitls/request'

// 图片抠图
export function mattingApi(data: any) {
  return request({
    url: "/matting/registration",
    method: "post",
    data
  });
}

// 图片抠图
export function downloadApi(params: any) {
  return request({
    url: "/matting/download",
    method: "get",
    responseType: 'blob',
    params
  });
}



// 图片合成
export function combineApi(params: any) {
  return request({
    url: "/matting/combine",
    method: "get",
    params,
  });
}
